<script lang="ts" setup>
import { user } from '~/api'

const router = useRouter()

onMounted(() => {
  user.logout()
  router.push('/login')
})
</script>

<template>
  <div />
</template>

<route lang="yaml">
meta:
  layout: empty
</route>
